#include <stdio.h>

int main() {
	float all=0,cache;int i;
	printf("Input mark one by one.\n");
	for(i=0;i<4;i++) {
		scanf("%f",&cache);
		all+=cache;
	}
	printf("Average mark: %.1f\n",all/4);
	return 0;
}